package avicit.bdp.dds.alert.template;

import avicit.bdp.dds.alert.template.impl.DefaultHTMLTemplate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * the alert template factory
 */
public class AlertTemplateFactory {

    private static final Logger logger = LoggerFactory.getLogger(AlertTemplateFactory.class);

    private AlertTemplateFactory(){}

    /**
     * get a template from alert.properties conf file
     * @return a template, default is DefaultHTMLTemplate
     */
    public static AlertTemplate getMessageTemplate() {
        return new DefaultHTMLTemplate();
    }
}
